package com.pazl.check.api.dto;

import java.io.Serializable;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Pattern;

/**
 * 用户信息
 * @author chenyn
 *
 * 2020年5月11日
 */
public class UserInfoDto implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -5439448190111364679L;

	
	@NotEmpty(message="userId missing .")
	private String userId ;
	
	@NotEmpty(message="userType missing .")
	@Pattern(regexp="10",message="userType error,only 【10】")
	private String userType ;

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getUserType() {
		return userType;
	}

	public void setUserType(String userType) {
		this.userType = userType;
	}
	
}
